package com.icode.mvc.dispatch;

import com.icode.mvc.model.Model;
import com.icode.mvc.view.View;

/**
 * User: Alex Zhong
 * Date: 2016/2/4
 */
public class ModelAndView {
    private Model model;

    private View view;

    public ModelAndView(Model model, View view) {
        this.model = model;
        this.view = view;
    }

    public Model getModel() {
        return model;
    }

    public void setModel(Model model) {
        this.model = model;
    }

    public View getView() {
        return view;
    }

    public void setView(View view) {
        this.view = view;
    }
}
